package com.red.star.wechat.data.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @ProjectName: macalline-data-server$
 * @Package: com.red.star.macalline.data.entity$
 * @Description:  裂变图片活动，二维码中间表
 * @Author: xuquanyu
 * @CreateDate: 2018/9/27$ 上午11:19$
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "ImageActivityPoster", description = "裂变图片活动二维码关联表实体")
@Table(name = "t_image_activity_poster")
public class ImageActivityPoster extends BaseEntity {

    /**
     * 裂变图片活动id
     */
    @ApiModelProperty(value = "裂变图片活动id")
    private Integer imageActivityId;

    /**
     * 裂变二维码id
     */
    @ApiModelProperty(value = "裂变二维码id")
    private Integer imagePosterId;

    /**
     * 状态 : 1 有效 2删除
     */
    @ApiModelProperty(value = "状态 : 1 有效 , 2删除", example = "1")
    private Integer status;

    /**
     * 二维码
     */
    @Transient
    private ImagePoster imagePoster;


}
